#include <iostream>
#include <unistd.h>
using namespace std;

int addx2(int i)
{
	int tmp = i++;
	tmp*=2;
	return tmp;
}

int main()
{
	int n = 10;
	for(int i = 0; i < n; i++)
	{
		cout<<"当前i为"<<i<<endl;
		if(i==5)
		{
			cout<<"<hello linux!>"<<endl;
			int l = addx2(i);
			cout << i << "的加加再二倍为" << l << endl;
		}
		sleep(1);
	}
	
	cout<<">>end<<"<<endl;
    return 0;
}
